package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 客户从属关系表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "customer_association")
public class CustomerAssociation implements Serializable {
    @TableId(value = "relation_no", type = IdType.INPUT)
    private Integer relationNo;

    /**
     * 关系类型
     */
    @TableField(value = "relation_type")
    private Integer relationType;

    /**
     * 关系名称
     */
    @TableField(value = "relation_name")
    private String relationName;

    private static final long serialVersionUID = 1L;
}